Module-level declarations
Types
Link copied to clipboard
struct batch_fish_dto
Link copied to clipboard
struct batch_update_fish_dto
Link copied to clipboard
entity caught_item
Link copied to clipboard
struct fish_info_dto
Link copied to clipboard
struct fish_list_item_dto
Link copied to clipboard
entity fish_location
Link copied to clipboard
entity fisherman_stickerbook_entry
Link copied to clipboard
entity fishing_card
Link copied to clipboard
object fishing_config
Link copied to clipboard
entity fishing_quest
Link copied to clipboard
struct hooked_item
Functions
Link copied to clipboard
function _get_recently_caught_item(account_id: byte_array): (timestamp: integer, name: text, bait: text, rod: text)?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function catch_with_time(plot_id: integer, location: location, bait: text, rod_name: text, timestamp: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
Link copied to clipboard
function choose_fish_for_shoal(x: integer, y: integer, timestamp: integer, eligible_fishes: list<fish_list_item_dto>): fish_list_item_dto
Link copied to clipboard
function choose_hooked_item(player: player, plot: instance, global_x: integer, global_y: integer, in_shoal: boolean, bait_name: text, rod_name: text, timestamp: integer): hooked_item
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function shoal_applies(bait: text, rod: integer, fish_in_shoal: fish_list_item_dto, random_num: integer): boolean
Link copied to clipboard
Queries
Link copied to clipboard
Link copied to clipboard
@mount("fishing.get_all_registered_fishes")
query get_all_registered_fishes(): list<(name: text, enabled: boolean)>
Link copied to clipboard
@mount("fishing.get_all_registered_fishes_with_details")
query get_all_registered_fishes_with_details(): list<fish_dto>
Link copied to clipboard
@mount("fishing.get_all_trash_prototypes")
query get_all_trash_prototypes(): list<(name: text, durability_cost: integer)>
Link copied to clipboard
@mount("fishing.get_fish_master_list")
query get_fish_master_list(plot_id: integer): list<fish_list_item_dto>
Link copied to clipboard
@mount("fishing.get_fisherman_stickerbook_entries")
query get_fisherman_stickerbook_entries(account_id: byte_array): list<text>
Link copied to clipboard
@mount("fishing.get_fishing_cards_for_plot")
query get_fishing_cards_for_plot(plot_id: integer): list<(username: text,)>
Link copied to clipboard
Link copied to clipboard
@mount("fishing.get_recently_caught_item")
query get_recently_caught_item(account_id: byte_array): (timestamp: integer, name: text, bait: text, rod: text)?
Link copied to clipboard
Operations
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@mount("fishing.catch_it")
operation catch_it(plot_id: integer, location: location, bait: text, rod: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("fishing.give_fishing_card")
operation give_fishing_card(plot_id: integer, receiver: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@mount("fishing.revoke_fishing_card")
operation revoke_fishing_card(plot_id: integer, card_holder: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("fishing.set_fish_availability")
operation set_fish_availability(fishes: list<(fish_name: text, enabled: boolean)>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@mount("fishing.set_shoal_fish_probability")
operation set_shoal_fish_probability(probability: integer)
Link copied to clipboard
@mount("fishing.set_shoal_tile_probability")
operation set_shoal_tile_probability(probability: integer)